package com.book.domain;

public class Writting {
	
	
	
	String bCode;
	String bBookTitle;
	String bBookGenre;
	String bBookAuthor;
	String bBookUrl;
	String bEmotion;
	String bFont;
	String bFontBg;
	String bPosition;
	String bFontSize;
	String bContent;
	String bBgimage;
	String bCoordinate;
	String mNickName;
	String piFileName;
	String bDate;
	String mCode;
	String sCode;
	String rCode;
	String rDate;
	String rContent;	
	String sDate;
	
	
	public Writting(){}


	
	public String getbBookUrl() {
		return bBookUrl;
	}



	public void setbBookUrl(String bBookUrl) {
		this.bBookUrl = bBookUrl;
	}



	public String getbCode() {
		return bCode;
	}


	public void setbCode(String bCode) {
		this.bCode = bCode;
	}


	public String getbBookTitle() {
		return bBookTitle;
	}


	public void setbBookTitle(String bBookTitle) {
		this.bBookTitle = bBookTitle;
	}


	public String getbBookGenre() {
		return bBookGenre;
	}


	public void setbBookGenre(String bBookGenre) {
		this.bBookGenre = bBookGenre;
	}


	public String getbBookAuthor() {
		return bBookAuthor;
	}


	public void setbBookAuthor(String bBookAuthor) {
		this.bBookAuthor = bBookAuthor;
	}


	public String getbEmotion() {
		return bEmotion;
	}


	public void setbEmotion(String bEmotion) {
		this.bEmotion = bEmotion;
	}


	public String getbFont() {
		return bFont;
	}


	public void setbFont(String bFont) {
		this.bFont = bFont;
	}


	public String getbFontBg() {
		return bFontBg;
	}


	public void setbFontBg(String bFontBg) {
		this.bFontBg = bFontBg;
	}


	public String getbPosition() {
		return bPosition;
	}


	public void setbPosition(String bPosition) {
		this.bPosition = bPosition;
	}


	public String getbFontSize() {
		return bFontSize;
	}


	public void setbFontSize(String bFontSize) {
		this.bFontSize = bFontSize;
	}


	public String getbContent() {
		return bContent;
	}


	public void setbContent(String bContent) {
		this.bContent = bContent;
	}


	public String getbBgimage() {
		return bBgimage;
	}


	public void setbBgimage(String bBgimage) {
		this.bBgimage = bBgimage;
	}


	public String getbCoordinate() {
		return bCoordinate;
	}


	public void setbCoordinate(String bCoordinate) {
		this.bCoordinate = bCoordinate;
	}


	public String getmNickName() {
		return mNickName;
	}


	public void setmNickName(String mNickName) {
		this.mNickName = mNickName;
	}


	public String getPiFileName() {
		return piFileName;
	}


	public void setPiFileName(String piFileName) {
		this.piFileName = piFileName;
	}


	public String getbDate() {
		return bDate;
	}


	public void setbDate(String bDate) {
		this.bDate = bDate;
	}


	public String getmCode() {
		return mCode;
	}


	public void setmCode(String mCode) {
		this.mCode = mCode;
	}


	public String getsCode() {
		return sCode;
	}


	public void setsCode(String sCode) {
		this.sCode = sCode;
	}


	public String getrCode() {
		return rCode;
	}


	public void setrCode(String rCode) {
		this.rCode = rCode;
	}


	public String getrDate() {
		return rDate;
	}


	public void setrDate(String rDate) {
		this.rDate = rDate;
	}


	public String getrContent() {
		return rContent;
	}


	public void setrContent(String rContent) {
		this.rContent = rContent;
	}


	public String getsDate() {
		return sDate;
	}


	public void setsDate(String sDate) {
		this.sDate = sDate;
	}



	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result
				+ ((bBgimage == null) ? 0 : bBgimage.hashCode());
		result = prime * result
				+ ((bBookAuthor == null) ? 0 : bBookAuthor.hashCode());
		result = prime * result
				+ ((bBookGenre == null) ? 0 : bBookGenre.hashCode());
		result = prime * result
				+ ((bBookTitle == null) ? 0 : bBookTitle.hashCode());
		result = prime * result
				+ ((bBookUrl == null) ? 0 : bBookUrl.hashCode());
		result = prime * result + ((bCode == null) ? 0 : bCode.hashCode());
		result = prime * result
				+ ((bContent == null) ? 0 : bContent.hashCode());
		result = prime * result
				+ ((bCoordinate == null) ? 0 : bCoordinate.hashCode());
		result = prime * result + ((bDate == null) ? 0 : bDate.hashCode());
		result = prime * result
				+ ((bEmotion == null) ? 0 : bEmotion.hashCode());
		result = prime * result + ((bFont == null) ? 0 : bFont.hashCode());
		result = prime * result + ((bFontBg == null) ? 0 : bFontBg.hashCode());
		result = prime * result
				+ ((bFontSize == null) ? 0 : bFontSize.hashCode());
		result = prime * result
				+ ((bPosition == null) ? 0 : bPosition.hashCode());
		result = prime * result + ((mCode == null) ? 0 : mCode.hashCode());
		result = prime * result
				+ ((mNickName == null) ? 0 : mNickName.hashCode());
		result = prime * result
				+ ((piFileName == null) ? 0 : piFileName.hashCode());
		result = prime * result + ((rCode == null) ? 0 : rCode.hashCode());
		result = prime * result
				+ ((rContent == null) ? 0 : rContent.hashCode());
		result = prime * result + ((rDate == null) ? 0 : rDate.hashCode());
		result = prime * result + ((sCode == null) ? 0 : sCode.hashCode());
		result = prime * result + ((sDate == null) ? 0 : sDate.hashCode());
		return result;
	}



	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		Writting other = (Writting) obj;
		if (bBgimage == null) {
			if (other.bBgimage != null)
				return false;
		} else if (!bBgimage.equals(other.bBgimage))
			return false;
		if (bBookAuthor == null) {
			if (other.bBookAuthor != null)
				return false;
		} else if (!bBookAuthor.equals(other.bBookAuthor))
			return false;
		if (bBookGenre == null) {
			if (other.bBookGenre != null)
				return false;
		} else if (!bBookGenre.equals(other.bBookGenre))
			return false;
		if (bBookTitle == null) {
			if (other.bBookTitle != null)
				return false;
		} else if (!bBookTitle.equals(other.bBookTitle))
			return false;
		if (bBookUrl == null) {
			if (other.bBookUrl != null)
				return false;
		} else if (!bBookUrl.equals(other.bBookUrl))
			return false;
		if (bCode == null) {
			if (other.bCode != null)
				return false;
		} else if (!bCode.equals(other.bCode))
			return false;
		if (bContent == null) {
			if (other.bContent != null)
				return false;
		} else if (!bContent.equals(other.bContent))
			return false;
		if (bCoordinate == null) {
			if (other.bCoordinate != null)
				return false;
		} else if (!bCoordinate.equals(other.bCoordinate))
			return false;
		if (bDate == null) {
			if (other.bDate != null)
				return false;
		} else if (!bDate.equals(other.bDate))
			return false;
		if (bEmotion == null) {
			if (other.bEmotion != null)
				return false;
		} else if (!bEmotion.equals(other.bEmotion))
			return false;
		if (bFont == null) {
			if (other.bFont != null)
				return false;
		} else if (!bFont.equals(other.bFont))
			return false;
		if (bFontBg == null) {
			if (other.bFontBg != null)
				return false;
		} else if (!bFontBg.equals(other.bFontBg))
			return false;
		if (bFontSize == null) {
			if (other.bFontSize != null)
				return false;
		} else if (!bFontSize.equals(other.bFontSize))
			return false;
		if (bPosition == null) {
			if (other.bPosition != null)
				return false;
		} else if (!bPosition.equals(other.bPosition))
			return false;
		if (mCode == null) {
			if (other.mCode != null)
				return false;
		} else if (!mCode.equals(other.mCode))
			return false;
		if (mNickName == null) {
			if (other.mNickName != null)
				return false;
		} else if (!mNickName.equals(other.mNickName))
			return false;
		if (piFileName == null) {
			if (other.piFileName != null)
				return false;
		} else if (!piFileName.equals(other.piFileName))
			return false;
		if (rCode == null) {
			if (other.rCode != null)
				return false;
		} else if (!rCode.equals(other.rCode))
			return false;
		if (rContent == null) {
			if (other.rContent != null)
				return false;
		} else if (!rContent.equals(other.rContent))
			return false;
		if (rDate == null) {
			if (other.rDate != null)
				return false;
		} else if (!rDate.equals(other.rDate))
			return false;
		if (sCode == null) {
			if (other.sCode != null)
				return false;
		} else if (!sCode.equals(other.sCode))
			return false;
		if (sDate == null) {
			if (other.sDate != null)
				return false;
		} else if (!sDate.equals(other.sDate))
			return false;
		return true;
	}



	@Override
	public String toString() {
		return "Writting [bCode=" + bCode + ", bBookTitle=" + bBookTitle
				+ ", bBookGenre=" + bBookGenre + ", bBookAuthor=" + bBookAuthor
				+ ", bBookUrl=" + bBookUrl + ", bEmotion=" + bEmotion
				+ ", bFont=" + bFont + ", bFontBg=" + bFontBg + ", bPosition="
				+ bPosition + ", bFontSize=" + bFontSize + ", bContent="
				+ bContent + ", bBgimage=" + bBgimage + ", bCoordinate="
				+ bCoordinate + ", mNickName=" + mNickName + ", piFileName="
				+ piFileName + ", bDate=" + bDate + ", mCode=" + mCode
				+ ", sCode=" + sCode + ", rCode=" + rCode + ", rDate=" + rDate
				+ ", rContent=" + rContent + ", sDate=" + sDate + "]";
	}

}
